<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>查看任务 - Powered By LIUSANY</title>

</head>
<body class="input">
	<div class="bar">
		任务查看
	</div>
	<div class="body">
		<form id="inputForm" action="${ctx}/admin/email/destroy" method="post">
			<table class="inputTable">
				<c:if test="${activeCount>0}">
				<tr id="statusTr">
					<th>
						任务状态
					</th>
					<td>
						<span class="loadingBar">&nbsp;</span>
						<p id="status">发送邮件任务执行中....</p>
					</td>
					
				</tr>
				<tr >
					<th>
						线程池活动数量;
					</th>
					<td>
						${activeCount}
					</td>
					
				</tr>
				<!-- <tr >
					<th>
						&nbsp;
					</th>
					<td>
						<input type="checkbox" id="destroy"  value="确  定" hidefocus />销毁任务&nbsp;&nbsp;
						<input type="checkbox" id="stop"  value="确  定" hidefocus />暂停&nbsp;&nbsp;
						<input type="submit" id="submitButton" class="formButton" value="确  定" hidefocus />&nbsp;&nbsp;
					</td>
					
				</tr> -->
				</c:if>
				<c:if test="${activeCount==0}">
				<tr id="statusTr">
					<th>
						&nbsp;
					</th>
					<td>
						<p id="status">任务空闲中....</p>
					</td>
				</tr>
				</c:if>
				
			</table>
		</form>
	</div>
</body>
</html>